<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<link href="/general/css/admin_1.css" rel="stylesheet" type="text/css"/>
<f:view>
    <h:form>
        <h:panelGrid columns="1" bgcolor="#A52A2A" width="100%" styleClass="tablaprincipal">
            <h:outputLabel value="Reporte Lista de Pre-Inscritos por Evento" />
        </h:panelGrid>
        <a4j:outputPanel ajaxRendered="true">
            <h:messages id="lblMessages" styleClass="messages" infoClass="infoClass" errorClass="errorClass"
                        warnClass="warnClass" showDetail="true" errorStyle="color:red;"
                        warnStyle="color:green;" infoStyle="color:black;" fatalStyle="color:black"/>
        </a4j:outputPanel>
        <h:panelGrid columns="3" styleClass="fondoFormulariosyPanel">
            <h:outputLabel value="Evento:" />
            <rich:comboBox selectFirstOnUpdate="false"
                           value="#{ReporteListaPreInscritosController.nombEvento}"
                           defaultLabel="Seleccione un Evento" >
                <f:selectItems value="#{EventoController.comboEventosLike}" />
            </rich:comboBox>
            <h:commandButton value="Buscar" 
                             action="#{ReporteListaPreInscritosController.buscarListaPreInscritos}"
                             title="Buscar" image="/img/buscar.png"/>
        </h:panelGrid>
        <br/>
      
        <br/>
        <h:panelGrid columns="1">
            <h:commandButton value="Exportar" action="#{ReporteCantPorEventoController.ReporteInscritosPDF}" image="/img/pdf.png" title="Exportar a pdf" />
        </h:panelGrid>

    </h:form>

</f:view>